package com.itheima.多态.普通类多态;

public class Animal {
    public void eat(){
        System.out.println("动物吃东西");
    }
}

class Cat extends Animal{
    public void eat(){
        System.out.println("猫吃鱼");
    }
}
